package com.scrumtrek.trainings.tdd;

/**
 * Created with IntelliJ IDEA.
 * User: skashin
 * Date: 21.02.13
 * Time: 13:14
 * To change this template use File | Settings | File Templates.
 */
public class PaySystemSpy implements PaySystem {

    public Integer profit = null;

    public void increaseProfit(int amount) {
        profit = amount;
    }

    public Integer getLastAmount() {
        Integer p = profit;
        profit = null;
        return p;
    }



}
